Skip to main content

FlowScript

Represents a workflow step for executing custom scripts with error management options.

Properties

NameDescription
KeyA unique identifier for the workflow step.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
CachedDMObjectsThe cached document management objects related to the flow object.
TypeCodeThe type code associated with the flow object.
ResumeOnErrorIndicates whether the script execution should continue in case of an error. (Marked as obsolete)
ErrorDescriptionObjectNameThe name of the object used to store error descriptions. (Marked as obsolete)
ErrorOptionsDefines error-related options for the API step.
NameName for the workflow step.
ValueThe value or output generated by the script.
CaptionThe caption dictionary representing localized captions for the flow object.

Constructors

NameDescription
FlowScript(name, workflowData, workflowCodeInstance)Constructor for the FlowScript class. Initializes a new instance of the FlowScript class.
FlowScript(name,workflowData,workflowCodeInstance)Initializes a new instance of the FlowScript class with a name, workflow data, and workflow code instance.
FlowScript(name,workflowData,workflowCodeInstance)Initializes a new instance of the FlowScript class with a name, workflow data, and workflow code instance.

Methods

NameDescription
Initialize()Initializes the script step with default settings.
ToLiquid()Converts the script data into a format compatible with Liquid templates.

Events

NameDescription
OnBeforeExecution(sender, args)Occurs before the execution of the workflow step.
OnAfterExecution(sender, args)Occurs after the execution of the workflow step.

Generic Types

NameDescription
TPropertiesGeneric type of properties.